package com.it.service.impl;

import com.it.mapper.MyCollectionMapper;
import com.it.pojo.MyCo;
import com.it.pojo.MyCollection;
import com.it.service.MyCollectionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class MyCollectionServiceImpl implements MyCollectionService {
    @Resource
    MyCollectionMapper myCollectionMapper;

    @Override
    public List<MyCo> findCollection(Integer uid) {
        return myCollectionMapper.findCollection(uid);
    }
}
